package com.test.sshsitemesh.dao;

import java.util.List;

import org.hibernate.Query;
import org.springframework.stereotype.Repository;

import com.test.sshsitemesh.entity.Image;
import com.test.sshsitemesh.framework.BaseHibernateDAO;

@Repository
public class ImageDAOImpl extends BaseHibernateDAO<Image, Integer>implements ImageDAO{

	@Override
	public List<String> getSeleScreenSizeList(){
		String hql = "select distinct imageScreenSize from Image";
		Query query = getSession().createQuery(hql);
		return query.list();
	}
}
